package io.gitee.skyarthur1987.leporidae.delayqueue.biz;

import lombok.Getter;

/**
 * Created by skyarthur on 2023/1/29
 */
@Getter
public enum DelayQueueTopic {
    TASK_PRINT("taskPrint", TaskDto.class);

    private final String topic;
    private final Class<?> elementClz;

    DelayQueueTopic(String topic, Class<?> elementClz) {
        this.topic = topic;
        this.elementClz = elementClz;
    }
}
